function skip() {
    if (confirm("博客未发布，是否跳转到博客广场？")) {
        location.href = "blog_list.html";
    }
}

//根据指定用户获取总访问量和评论总数
function getTotalRCountAndCommentByUId(uid) {
    jQuery.ajax({
        url: "user/get_total_rcount_and_comment",
        type: "POST",
        data: {
            "uid": uid
        },
        success: function (res) {
            if (res.code == 200 && res.data != null) {
                jQuery("#reading-times").html("总访问量：" + res.data.rCounts);
                jQuery("#comment-times").html("获得评论：" + res.data.comments + "次");
            } else {
                console.log("获取失败！" + res.msg);
            }
        }
    });
}